﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WenSkin.EventClass
{
    public delegate void MessageEventHandler(object sender, MessageEventArgs e);
    public delegate void ObjectEventHandler(object sender, ObjectEventArgs e);
    public class MessageEventArgs : EventArgs
    {
        public MessageEventArgs()
        {
        }

        public MessageEventArgs(string message)
        {
            Message = message;
        }

        public string Message { get; set; }
    }

    public class ObjectEventArgs : EventArgs
    {
        public ObjectEventArgs()
        {
        }

        public ObjectEventArgs(object value)
        {
            Value = value;
        }

        public object Value { get; set; }
    }
}
